﻿<UserControl x:Class="sdm.exam.ui.ExamAdministration.BookExam"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="412" d:DesignWidth="560">
    <Grid Height="413" Width="561">
        <Label Content="Class room:" Height="28" HorizontalAlignment="Left" Margin="241,0,0,0" Name="lblClassRoom" VerticalAlignment="Top" />
        <Label Content="Special equipment:" Height="28" HorizontalAlignment="Left" Margin="404,0,0,0" Name="lblEquipment" VerticalAlignment="Top" />
        <TextBox BorderBrush="black" BorderThickness="1" Height="23" HorizontalAlignment="Right" Margin="0,24,37,0" Name="txtEquipment" VerticalAlignment="Top" Width="120" />
        <Button Content="Add" Height="23" HorizontalAlignment="Left" Margin="379,185,0,0" Name="btnAdd" VerticalAlignment="Top" Width="75" Background="White" Click="btnAdd_Click" />
        <Button Content="Remove"  Height="23" HorizontalAlignment="Right" IsEnabled="False"  Margin="0,185,26,0" Name="btnDelete" VerticalAlignment="Top" Width="75" Background="White" Click="btnDelete_Click" />
        <ListBox BorderBrush="black" BorderThickness="1" ItemsSource="{Binding}" Height="187" HorizontalAlignment="Left" Margin="12,214,0,0" Name="lstLocations" VerticalAlignment="Top" Width="537" SelectionChanged="lstLocations_SelectionChanged" />
        <ComboBox ItemsSource="{Binding}" BorderBrush="black" BorderThickness="1" Background="white" Height="23" HorizontalAlignment="Left" Margin="241,21,0,0" Name="cbbClassrooms" VerticalAlignment="Top" Width="120" />
        <Label Content="Start date:" Height="28" HorizontalAlignment="Left" Margin="241,50,0,0" Name="lblStartDate" VerticalAlignment="Top" />
        <Label Content="End date:" Height="28" HorizontalAlignment="Left" Margin="404,51,0,0" Name="lblEndDate" VerticalAlignment="Top" />
        <DatePicker BorderBrush="black" BorderThickness="1"  Height="25" HorizontalAlignment="Left" Margin="241,74,0,0" Name="datePickerStart" VerticalAlignment="Top" Width="120" SelectedDateFormat="Long" />
        <DatePicker BorderBrush="black" BorderThickness="1" Height="25" HorizontalAlignment="Left" Margin="404,73,0,0" Name="datepickerEnd" VerticalAlignment="Top" Width="119" SelectedDateFormat="Long" />
        <Separator Height="19" Margin="12,160,12,0" Name="separator1" VerticalAlignment="Top" />
        <Label Content="Time start:" Height="28" HorizontalAlignment="Right" Margin="0,111,77,0" Name="label1" VerticalAlignment="Top" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1"  Height="23" HorizontalAlignment="Left" Margin="247,131,0,0" Name="cbbStartHours" VerticalAlignment="Top" Width="47" ItemsSource="{Binding}" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1" Height="23" HorizontalAlignment="Right" Margin="0,131,211,0" Name="cbbStartMinute" VerticalAlignment="Top" Width="50" ItemsSource="{Binding}" />
        <Label Content="Time end:" Height="28" HorizontalAlignment="Left" Margin="243,109,0,0" Name="label2" VerticalAlignment="Top" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1" Height="23" HorizontalAlignment="Left" Margin="404,134,0,0" Name="cbbEndHour" VerticalAlignment="Top" Width="50"  ItemsSource="{Binding}" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1" Height="23" HorizontalAlignment="Right" Margin="0,134,46,0" Name="cbbEndMinute" VerticalAlignment="Top" Width="55"  ItemsSource="{Binding}" />
        <ListBox ItemsSource="{Binding}" BorderBrush="black" BorderThickness="1" Height="75" HorizontalAlignment="Left" Margin="15,24,0,0" Name="lstTeachers" VerticalAlignment="Top" Width="185" />
        <Label Content="Teachers:" Height="28" HorizontalAlignment="Left" Margin="15,0,0,0" Name="label3" VerticalAlignment="Top" />
        <ComboBox Background="white" BorderBrush="black" BorderThickness="1" Height="23" HorizontalAlignment="Left" ItemsSource="{Binding}" Margin="15,134,0,0" Name="cbbCourses" VerticalAlignment="Top" Width="185" />
        <Label Content="Course" Height="28" HorizontalAlignment="Left" Margin="15,109,0,0" Name="label4" VerticalAlignment="Top" />
    </Grid>
</UserControl>
